package com.sky.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class OrdersSubmitDTO implements Serializable {
    private static final long serialVersionUID = -5186412660648796522L;
    //地址id
    private Long addressBookId;
    //支付方式
    private Integer payMethod;
    //备注
    private String remark;
    //预计送达时间
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedDeliveryTime;
    //餐具数量
    private Integer tablewareNumber;
    private Integer tablewareStatus;
    //配送状态 1立即送出 0选择具体时间
    private Integer deliveryStatus;
    //打包费
    private Integer packAmount;
    //总金额
    private BigDecimal amount;
}
